package com.cskaoyan.controller.wx.cqw;

import com.cskaoyan.module.bean.BaseRespVo;
import com.cskaoyan.module.bo.wx.cqw.FeedBackBo;
import com.cskaoyan.service.wx.cqw.FeedBackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("wx/feedback")
public class FeedBack {
    @Autowired
    FeedBackService feedBackService;
//wx/feedback/submit
    @PostMapping("submit")
    public BaseRespVo feedBackSubmit(@RequestBody FeedBackBo feedBackBo){

        return feedBackService.injectFeedBack(feedBackBo);
    }
}
